package com.qiaofang.collectmanagebff.base.configuration;

import org.springframework.beans.factory.annotation.Value;

/**
 *  * The type MSConfiguration.
 *  * @Description:
 *  * @author xubo
 *  * @Date 2017/7/24
 *  
 */
public class CollectManageBffConfiguration {
    public static String tempMessage;

    public static String staticSwitch;

    public static String v10HttpUrl;

    // @Value("${app.ms.tempMessage}")
    public void setTempMessage(String message) {
        tempMessage = message;
    }

    public static String getStaticSwitch() {
        return staticSwitch;
    }

    @Value("${app.static.switch}")
    public static void setStaticSwitch(String staticSwitch) {
        CollectManageBffConfiguration.staticSwitch = staticSwitch;
    }

    public static String getV10HttpUrl() {
        return v10HttpUrl;
    }

    @Value("${app.v10.httpUrl}")
    public static void setV10HttpUrl(String v10HttpUrl) {
        CollectManageBffConfiguration.v10HttpUrl = v10HttpUrl;
    }

    public static String getTempMessage() {
        return tempMessage;
    }
}